From 600f52321b53f21e1051ae0923c4232619cecc89 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 28 Aug 2010 18:05:47 +0200 Subject: [PATCH] tests: Don't set colormap when creating offscreen windows --- tests/gtkoffscreenbox.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c index cd70c3e4aa..a889296135 100644 --- a/tests/gtkoffscreenbox.c +++ b/tests/gtkoffscreenbox.c @@ -264,10 +264,9 @@ gtk_offscreen_box_realize (GtkWidget *widget) | GDK_LEAVE_NOTIFY_MASK; attributes.visual = gtk_widget_get_visual (widget); - attributes.colormap = gtk_widget_get_colormap (widget); attributes.wclass = GDK_INPUT_OUTPUT; - attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP; + attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL; window = gdk_window_new (gtk_widget_get_parent_window (widget), &attributes, attributes_mask); -- 2.30.2